package model;

import java.awt.Color;

public class Spec extends PrimitiveColor {
	public float power;
	
	public Spec(Color color, float power) {
		super(color);
		this.power = power;
	}

	public double getPower() {
		return power;
	}
	public void setPower(float power) {
		this.power = power;
	}
	
	@Override
	public String toString() {
		return "color: " + color + "power: " + power;
	}

}
